package cn.cheln.explorer.beans;

import android.content.Context;
import cn.cheln.explorer.func.AppSrc;
import java.util.Map;

public class ApkInfoUtil
{
  public static boolean bindFlag;

  public static <T extends FileInfo> boolean preserApkInfo(FileInfo paramFileInfo, Context paramContext)
  {
    ApkInfo localApkInfo = (ApkInfo)paramFileInfo;
    if (!(localApkInfo.isBuilt))
    {
      if (!(localApkInfo.setApkInfo(paramContext)))
      {
        localApkInfo.versionCondition = ApkInfo.DISPLAY_UNKNOWN;
        localApkInfo.versionName = ApkInfo.DISPLAY_UNKNOWN;
        return true;
      }
      if ((String)AppSrc.getPackagesVersion().get(localApkInfo.packageName) == null)
        break label63;
    }
    label63: for (localApkInfo.versionCondition = ApkInfo.VERSION_INTALLED; ; localApkInfo.versionCondition = ApkInfo.VERSION_UNINTALLED)
      return false;
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     cn.cheln.explorer.beans.ApkInfoUtil
 * JD-Core Version:    0.5.2
 */